<!doctype html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Register</title>
	</head>
	<body>
	<div id="errorarea"><?= $error ?></div>
		<form action="?" method="post">
			<table>
				<tr>
					<td><label for="username">Username:</label></td>
					<td><input type="text" name="username" value="<?= $username ?>" /></td>
				</tr>
				<tr>
					<td><label for="email">Email address:</label></td>
					<td><input type="text" name="email" value="<?= $email ?>" /></td>
				</tr>
				<tr>
					<td><label for="password">Password:</label></td>
					<td><input type="password" name="password" /></td>
				</tr>
				<tr>
					<td><label for="pass_retype">Retype Password:</label></td>
					<td><input type="password" name="pass_retype" /></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" value="Submit" /></td>
				</tr>
			</table>
		</form>
	</body>
</html>
